<div class="grid_7">
    <div class="box">
        <h2>
            <a href="#" id="toggle-tables">WEB SITE LOGO MANAGEMENT</a>
        </h2>
        <div class="block" >
            <form name="cat" method="POST" enctype="multipart/form-data" action="<?= base_url(); ?>admin/settings/do_upload">
                <fieldset>
                    <legend>Upload a Logo Image File :</legend>
                    <?php
                    if ($this->session->flashdata('message')) {
                        $msg = $this->session->flashdata('message');
                        echo '<font color="red">' . $msg . '</font>';
                    }
                    ?> 
                    <div class="field" style="float:left" >
                        <label> File Name <span style="color: red">* Only gif format allowed </span></label>
                        <input type="file" name="userfile" value="Browse" />
                        <input type="submit" name="insert" value="Change" />
                    </div>
                    <div style="float:right;">
                        <img style="border: 1px solid #CCC; padding: 3px" src="<?= base_url() ?>assets/images/sitelogo.gif" height="75" width="188" align="center"/>
                    </div>
                </fieldset>
            </form>
        </div>
    </div> <!-- END OF BOX -->
</div>